package com.peenongsaban.freelance.service;

import java.util.Vector;

import com.peenongsaban.freelance.bean.AptitudeTypeBean;
import com.peenongsaban.freelance.bean.PostServiceBean;
import com.peenongsaban.freelance.dao.PostServiceDAO;
import com.peenongsaban.freelance.dao.impl.PostServiceDAOImpl;
import com.peenongsaban.freelance.model.PostServiceModel;

public class PostServiceService {
	public Vector<AptitudeTypeBean> getListAptitudeType(){
		PostServiceDAO dao = new PostServiceDAOImpl();
		Vector<AptitudeTypeBean> vector = dao.getListAptitudeType();
		return vector;
	}
	
	public Vector<PostServiceBean> getListServiceLastUpdate(){
		PostServiceDAO dao = new PostServiceDAOImpl();
		Vector<PostServiceBean> vector = dao.getListServiceLastUpdate();
		return vector;
	}
	
	public boolean isAddPostService(PostServiceModel model){
		PostServiceDAO dao = new PostServiceDAOImpl();
		return dao.isAddPostService(model);
	}
}
